package com.ruoyi.project.monitor.redismonitor.service;

import com.ruoyi.project.monitor.redismonitor.domain.RedisMonitor;
import java.util.List;

/**
 * Redis监控Service接口
 * 
 * @author shixiangwen
 * @date 2020-04-09
 */
public interface IRedisMonitorService 
{
    /**
     * 查询Redis监控
     * 
     * @param id Redis监控ID
     * @return Redis监控
     */
    public RedisMonitor selectRedisMonitorById(Long id);

    /**
     * 查询Redis监控列表
     * 
     * @param redisMonitor Redis监控
     * @return Redis监控集合
     */
    public List<RedisMonitor> selectRedisMonitorList(RedisMonitor redisMonitor);

    /**
     * 新增Redis监控
     * 
     * @param redisMonitor Redis监控
     * @return 结果
     */
    public int insertRedisMonitor(RedisMonitor redisMonitor);

    /**
     * 修改Redis监控
     * 
     * @param redisMonitor Redis监控
     * @return 结果
     */
    public int updateRedisMonitor(RedisMonitor redisMonitor);

    /**
     * 批量删除Redis监控
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteRedisMonitorByIds(String ids);

    /**
     * 删除Redis监控信息
     * 
     * @param id Redis监控ID
     * @return 结果
     */
    public int deleteRedisMonitorById(Long id);
}
